/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.velocityme.session;

import com.velocityme.entity.Role;
import java.util.Collection;
import javax.ejb.Local;

/**
 *
 * @author rcrida
 */
@Local
public interface RoleLocal {

    Collection<Role> findAllRoles(KeyLocal key);

    Role findRole(KeyLocal key, Long roleId);

    Role createRole(KeyLocal key, Role role);

    void editRole(KeyLocal key, Role role);
    
}
